/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.order;

import org.eremite.corm.Archetype;
import org.eremite.corm.order.event.RejectedItem;

import java.util.Set;

/**
 * The ReceiptLine archetype provides a record of the
 * number of items received against a specified
 * OrderLine as part of a particular ReceiptEvent.
 */
public class ReceiptLine extends Archetype {
    private long orderLineID;
    private int numberReceived;
    private Set<RejectedItem> rejectedItems;

    public long getOrderLineID() {
        return orderLineID;
    }

    public void setOrderLineID(long orderLineID) {
        this.orderLineID = orderLineID;
    }

    public int getNumberReceived() {
        return numberReceived;
    }

    public void setNumberReceived(int numberReceived) {
        this.numberReceived = numberReceived;
    }

    public Set<RejectedItem> getRejectedItems() {
        return rejectedItems;
    }

    public void setRejectedItems(Set<RejectedItem> rejectedItems) {
        this.rejectedItems = rejectedItems;
    }
}
